package cn.bonoon.controllers.fmm;

import cn.bonoon.kernel.annotations.Cutoff;
import cn.bonoon.kernel.annotations.TransformField;
import cn.bonoon.kernel.support.models.AbstractItem;
import cn.bonoon.kernel.web.annotations.grid.AsColumn;
import cn.bonoon.kernel.web.annotations.grid.AsDataGrid;
import cn.bonoon.kernel.web.annotations.grid.GridOptions;

@AsDataGrid(condition = GroupCondition.class, value = @GridOptions(operationWith = 400))
public class GroupItem extends AbstractItem implements GroupDefine{

	private static final long serialVersionUID = -6257719491503140644L;

	@AsColumn(width = 150, ordinal = 0)
	@Cutoff(-1)
	private String name;

	@AsColumn(width = 50, ordinal = 25)
	private String status;

	@TransformField("status")
	private int statusValue;

	@AsColumn(width = 140, ordinal = 50)
	private String createAt;

	@AsColumn(width = 200, ordinal = 100)
	private String remark;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getStatusValue() {
		return statusValue;
	}

	public void setStatusValue(int statusValue) {
		this.statusValue = statusValue;
	}

	public String getCreateAt() {
		return createAt;
	}

	public void setCreateAt(String createAt) {
		this.createAt = createAt;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
}
